﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using LcAudit.Common.Data;
using LcAudit.BPM.Core.Dal;

namespace LcAudit.BPM.Core.Model
{
    [TableName("distenderinfo")]
    [Description("分标")]
    public class distenderinfo
    {
        public int KeyId { get; set; }

        [Description("分标编号")]
        public string dbh { get; set; }

        [Description("标名")]
        public string dname { get; set; }
        [Description("时间")]
        public DateTime ddate { get; set; }        
        [Description("招标ID")]
        public int tid { get; set; }

        [DbField(false)]
        public tenderinfo tender
        {
            get { return TenderDal.Instance.Get(tid); }
        }
    }
}
